﻿Ext.define("Kwan.ex.TriggerField", {
    extend: 'Ext.form.field.Trigger',
    alias: ['widget.kwanTriggerField', 'widget.Kwan.ex.Checkbox'],
    initComponent: function () {
        this.addEvents('triggerclick');
        this.callParent(arguments);
    },
    onTriggerClick : function(e) {
        var me = this;
        me.fireEvent("triggerclick");
    }
});  